import request from '@/utils/request'

// 查询监察对象表列表
export function listMonitoringmanList(query) {
  return request({
    url: '/system/monitoringmanList/list',
    method: 'get',
    params: query
  })
}

// 查询监察对象表详细
export function getMonitoringmanList(monitoringmanName) {
  return request({
    url: '/system/monitoringmanList/' + monitoringmanName,
    method: 'get'
  })
}

// 新增监察对象表
export function addMonitoringmanList(data) {
  return request({
    url: '/system/monitoringmanList',
    method: 'post',
    data: data
  })
}

// 修改监察对象表
export function updateMonitoringmanList(data) {
  return request({
    url: '/system/monitoringmanList',
    method: 'put',
    data: data
  })
}

// 删除监察对象表
export function delMonitoringmanList(monitoringmanName) {
  return request({
    url: '/system/monitoringmanList/' + monitoringmanName,
    method: 'delete'
  })
}
